Skip to content

feat: AEMCS fastly Edge Routing Automation#2127

Merged
dipratap merged 18 commits intomainfrom
csf
Apr 10, 2026
Merged

feat: AEMCS fastly Edge Routing Automation#2127
dipratap merged 18 commits intomainfrom
csf

Conversation

@dipratap
Copy link
Copy Markdown
Contributor

@dipratap dipratap commented Apr 5, 2026

Please ensure your pull request adheres to the following guidelines:

  • make sure to link the related issues in this description. Or if there's no issue created, make sure you
    describe here the problem you're solving.
  • when merging / squashing, make sure the fixed issue references are visible in the commits, for easy compilation of release notes

If the PR is changing the API specification:

  • make sure you add a "Not implemented yet" note the endpoint description, if the implementation is not ready
    yet. Ideally, return a 501 status code with a message explaining the feature is not implemented yet.
  • make sure you add at least one example of the request and response.

If the PR is changing the API implementation or an entity exposed through the API:

  • make sure you update the API specification and the examples to reflect the changes.

If the PR is introducing a new audit type:

  • make sure you update the API specification with the type, schema of the audit result and an example

Related Issues

Thanks for contributing!

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 5, 2026

This PR will trigger a patch release when merged.

import { calculateForwardedHost } from '@adobe/spacecat-shared-tokowaka-client';

// Supported CDN / log source types. Aligned with auth-service (cdn-logs-infrastructure/common.js).
export const LOG_SOURCES = {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd suggest keeping LOG_SOURCES in llmo-utils only. May be rename them as CDN_TYPES


// CDN routing — only when cdnType is provided
if (cdnTypeNormalized) {
// Authorization: LLMO Administrator (paid) OR member of LLMO Admin IMS group (trial).
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

check for cs fastly required (by dig)

@dipratap dipratap marked this pull request as ready for review April 9, 2026 22:58
@dipratap dipratap requested a review from nit23uec April 9, 2026 23:19
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 9, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

throw err;
}

let isGroupMember = false;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to have: Group membership check should go in ims client

Copy link
Copy Markdown
Contributor Author

@dipratap dipratap Apr 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will take this up in next PR if thats okay.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ack.

// The import worker handler iterates all opted-in sites and stamps edgeOptimizeConfig.enabled
// when Tokowaka confirms the site is serving edge-optimized content.
export const OPTIMIZE_AT_EDGE_ENABLED_MARKING_TYPE = 'optimize-at-edge-enabled-marking';

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is being duplicated. Better to move it to shared pkg.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will take this up in a next PR if thats okay.

@dipratap dipratap merged commit 56be44e into main Apr 10, 2026
25 checks passed
@dipratap dipratap deleted the csf branch April 10, 2026 12:03
solaris007 pushed a commit that referenced this pull request Apr 10, 2026
# [1.432.0](v1.431.0...v1.432.0) (2026-04-10)

### Features

* AEMCS fastly Edge Routing Automation ([#2127](#2127)) ([56be44e](56be44e))
@solaris007
Copy link
Copy Markdown
Member

🎉 This PR is included in version 1.432.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants